Use prefixedText(), rather than IRC clean text for replace call on comment to make...
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 21 Apr 2008 22:59:54 +0000 (22:59 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 21 Apr 2008 22:59:54 +0000 (22:59 +0000)
includes/RecentChange.php

index b4abc1b..149311c 100644 (file)
@@ -596,7 +596,7 @@ class RecentChange
                $user = $this->cleanupForIRC( $rc_user_text );
 
                if ( $rc_type == RC_LOG ) {
-                       $comment = $this->cleanupForIRC( str_replace( $title, "\00302$title\00310", $actionComment ) );
+                       $comment = $this->cleanupForIRC( str_replace($titleObj->getPrefixedText(),"\00302$title\00310",$actionComment) );
                        $flag = $rc_log_action;
                } else {
                        $comment = $this->cleanupForIRC( $rc_comment );